import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/tailwind.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
const ethers=require("ethers")

Vue.prototype.ethers=ethers

Vue.config.productionTip = false
Vue.use(ElementUI)
// Vue.prototype.$ethers=ethers

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')


// Initialize ethers store
store.dispatch('ethers/init')
